package com.neu.envprotection.airQuality.dto.req;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class AirQualityReqDto {
    @Schema(description = "空气质量调查的id")
    private Integer airQualityId;

    @JsonProperty
    @Schema(description = "so2浓度")
    private Float SO2Concentration;

    @JsonProperty
    @Schema(description = "co浓度")
    private Float COConcentration;

    @JsonProperty
    @Schema(description = "pm2.5浓度")
    private Float PM25Concentration;

    @JsonProperty
    @Schema(description = "AQI,实测等级")
    private Integer AQI;

    @Schema(description = "上传时间，即更新时间")
    private LocalDateTime upDateTime;
}
